package com.lkhd.manage.pojo;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;

@Table(name = "`usercomment`")
public class Usercomment implements Serializable{
    @Id
    @Column(name = "`commentId`")
    private Long commentid;

    @Column(name = "`activityId`")
    private Long activityid;

    @Column(name = "`userId`")
    private Long userid;

    @Column(name = "`imgs`")
    private String imgs;

    @Column(name = "`content`")
    private String content;

    @Column(name = "`grade`")
    private Integer grade;
    
    @Column(name = "`createDate`",insertable=false)
    private Date createdate;

    @Column(name = "`updataDate`",updatable=false)
    private Date updatadate;
    
    /**
     * @return commentId
     */
    public Long getCommentid() {
        return commentid;
    }

    /**
     * @param commentid
     */
    public void setCommentid(Long commentid) {
        this.commentid = commentid;
    }

    /**
     * @return activityId
     */
    public Long getActivityid() {
        return activityid;
    }

    /**
     * @param activityid
     */
    public void setActivityid(Long activityid) {
        this.activityid = activityid;
    }

    /**
     * @return userId
     */
    public Long getUserid() {
        return userid;
    }

    /**
     * @param userid
     */
    public void setUserid(Long userid) {
        this.userid = userid;
    }

    /**
     * @return imgs
     */
    public String getImgs() {
        return imgs;
    }

    /**
     * @param imgs
     */
    public void setImgs(String imgs) {
        this.imgs = imgs;
    }

    /**
     * @return content
     */
    public String getContent() {
        return content;
    }

    /**
     * @param content
     */
    public void setContent(String content) {
        this.content = content;
    }

    /**
     * @return grade
     */
    public Integer getGrade() {
        return grade;
    }

    /**
     * @param grade
     */
    public void setGrade(Integer grade) {
        this.grade = grade;
    }

    /**
     * @return createDate
     */
    public Date getCreatedate() {
        return createdate;
    }

    /**
     * @param createdate
     */
    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    /**
     * @return updataDate
     */
    public Date getUpdatadate() {
        return updatadate;
    }

    /**
     * @param updatadate
     */
    public void setUpdatadate(Date updatadate) {
        this.updatadate = updatadate;
    }
}